import { httpGet, httpPut } from '../http'
// 获取护工排班列表
export function getCaregiverAssignmentList(params) {
  return httpGet(`/api/caregiver-order-assignments/${params.caregivergId}`)
}

// 更新护工排班
export function updateCaregiverAssignment(params) {
  return httpPut(`/api/caregiver-order-assignments/${params.caregivergId}`,{
    status: "IN_SERVICE"
  })
}